package delasell.adressBook.model;

public class Contact implements java.io.Serializable {
	
	protected String name;
	protected String firstName;
	protected String adress;
	protected String companyAdress;
	protected String[] personalPhone;
	protected String[] proPhone;
	protected String web;
	protected String email;
	protected String imagePath;
	
	public Contact()
	{
		name="";
		firstName="";
		adress="";
		companyAdress="";
		personalPhone = new String[2];
		personalPhone[0]="";
		personalPhone[1]="";
		
		proPhone = new String[2];
		proPhone[0]="";
		proPhone[1]="";
		
		web="";
		email="";
		
		imagePath="";
	}
	
	public String getName() {
		return name;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getAdress() {
		return adress;
	}

	public String getCompanyAdress() {
		return companyAdress;
	}

	public String[] getPersonalPhone() {
		return personalPhone;
	}

	public String[] getProPhone() {
		return proPhone;
	}

	public String getWeb() {
		return web;
	}

	public String getEmail() {
		return email;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public void setCompanyAdress(String companyAdress) {
		this.companyAdress = companyAdress;
	}

	public void setPersonalPhone(String[] personalPhone) {
		this.personalPhone = personalPhone;
	}

	public void setProPhone(String[] proPhone) {
		this.proPhone = proPhone;
	}

	public void setWeb(String web) {
		this.web = web;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public Contact(String n, String fn, String ad, String cAd, String persPhone1, String persPhone2, String compPhone1, String compPhone2, String w, String em, String img)
	{
		name=n;
		firstName=fn;
		adress=ad;
		companyAdress=cAd;
		personalPhone = new String[2];
		personalPhone[0]=persPhone1;
		personalPhone[1]=persPhone2;
		
		proPhone = new String[2];
		proPhone[0]=compPhone1;
		proPhone[1]=compPhone2;
		
		web=w;
		email=em;
		
		imagePath=img;
	}
	
	public void setContact(String n, String fn, String ad, String cAd, String persPhone1, String persPhone2, String compPhone1, String compPhone2, String w, String em, String img)
	{
		name=n;
		firstName=fn;
		adress=ad;
		companyAdress=cAd;
		personalPhone[0]=persPhone1;
		personalPhone[1]=persPhone2;
		
		proPhone[0]=compPhone1;
		proPhone[1]=compPhone2;
		
		web=w;
		email=em;
		
		imagePath=img;
		
	}

}
